$(document).ready(function(){

	$("#closeall").click( function () {
		
		window.opener=null;
		
		window.close();
	});

});

function cls(){
	
	window.opener=null;
	window.open('','_self');
	window.close();
}